<template>
  <!-- 分页模块 -->
  <div class="block">
    <el-pagination
      background 
      layout=" prev, pager, next"
      :total="1000"
      :page-size="1"
      >
    </el-pagination>
  </div>
</template>

<script>
export default {
  name: "Pagination",

  data() {
    return {
      currentPage1: 5,
      currentPage2: 5,
      currentPage3: 5,
      currentPage4: 4,
    };
  },
  methods: {
    handleSizeChange(val) {
      // console.log(`每页 12条`);
      this.load();
    },
    handleCurrentChange(val) {
      console.log(`当前页: 11`);
    },
  },
};
</script>

<style lang="less" scoped>

</style>